import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { NavAPI,R} from './types';
export function getNavs(appid:string): AxiosPromise<R> {
  return request({
    url: '/itester/api/navs?appid='+appid,
    method: 'get'
  });
}

export function getNav(id:string): AxiosPromise<Object> {
  return request({
    url: '/itester/api/nav?id='+id,
    method: 'get'
  });
}
